Auto merge of #5687 - ehuss:beta-panic-rustdoc, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 5 Jul 2018 21:59:33 +0000 (21:59 +0000)
committerbors <bors@rust-lang.org>
Thu, 5 Jul 2018 21:59:33 +0000 (21:59 +0000)
commitcb019b621ba10009f634350337d7456ad75364b9
tree240048d486034b515eaed344aeb062fb3f803afc
parente0ed18d1c09c16be4654a228abdfd9c1acd04419
parent5bd3910e5f03a3d4e1df538798989ff19dbe8742
Auto merge of #5687 - ehuss:beta-panic-rustdoc, r=alexcrichton

[BETA] Fix doctests linking too many libs.

Backport of #5651.